<%@tag import="java.util.Set"%>
<%@ attribute name="reactor" required="true"%>
<%@ attribute name="linkuri" required="true"%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>


<c:choose>
	<c:when test="${fn:containsIgnoreCase(requestScope.target,reactor)}">
		<c:set var="styled" value="active" scope="page" />
	</c:when>
	<c:otherwise>
		<c:set var="styled" value="" scope="page" />
	</c:otherwise>
</c:choose>
<li id="${pageScope.styled}">
	<a href="${linkuri}"> <jsp:doBody /> </a>
</li>
